/**
 * 
 */
package net.cmath.auth;

import flex.messaging.FlexContext;

/**
 * @author Administrator
 *
 */
public class AuthContext {
	
	private static String PRIVATE_KEY = "kqeiKDVNAP;RDFKGVJQANE[RDGVINDFRGVIKN[gikhn[a";
	
	public static AuthUser getAuthUser() {
		AuthUser user = (AuthUser)FlexContext.getFlexSession().getAttribute("authInfo");
		return user;
	}
	
	public static String encode(String plain) {
		return plain;
	}
	
	public static String decode(String chiper) {
		return chiper;
	}
}
